<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: Execution flow control</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Execution flow control<div class="ingroups"><a class="el" href="group__dbg__funcs.html">Debugger functions</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Use these functions to run instructions in the debugged process. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga0e780614135a5f04ea7daeac368f065c"><td class="memItemLeft" align="right" valign="top">bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dbg__funcs__flow.html#ga0e780614135a5f04ea7daeac368f065c">step_into</a> (void)</td></tr>
<tr class="memdesc:ga0e780614135a5f04ea7daeac368f065c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute one instruction in the current thread.  <a href="#ga0e780614135a5f04ea7daeac368f065c">More...</a><br /></td></tr>
<tr class="separator:ga0e780614135a5f04ea7daeac368f065c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3679982ff86fc987ae0ff972c66be375"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3679982ff86fc987ae0ff972c66be375"></a>
bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dbg__funcs__flow.html#ga3679982ff86fc987ae0ff972c66be375">request_step_into</a> (void)</td></tr>
<tr class="memdesc:ga3679982ff86fc987ae0ff972c66be375"><td class="mdescLeft">&#160;</td><td class="mdescRight">Post a <a class="el" href="group__dbg__funcs__flow.html#ga0e780614135a5f04ea7daeac368f065c" title="Execute one instruction in the current thread. ">step_into()</a> request. <br /></td></tr>
<tr class="separator:ga3679982ff86fc987ae0ff972c66be375"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadaecfc3eb3e84554df67fd8b92cb522f"><td class="memItemLeft" align="right" valign="top">bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dbg__funcs__flow.html#gadaecfc3eb3e84554df67fd8b92cb522f">step_over</a> (void)</td></tr>
<tr class="memdesc:gadaecfc3eb3e84554df67fd8b92cb522f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute one instruction in the current thread, but without entering into functions.  <a href="#gadaecfc3eb3e84554df67fd8b92cb522f">More...</a><br /></td></tr>
<tr class="separator:gadaecfc3eb3e84554df67fd8b92cb522f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0c3b35c4cc499324ae31bbef0cca24e0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0c3b35c4cc499324ae31bbef0cca24e0"></a>
bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dbg__funcs__flow.html#ga0c3b35c4cc499324ae31bbef0cca24e0">request_step_over</a> (void)</td></tr>
<tr class="memdesc:ga0c3b35c4cc499324ae31bbef0cca24e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Post a <a class="el" href="group__dbg__funcs__flow.html#gadaecfc3eb3e84554df67fd8b92cb522f" title="Execute one instruction in the current thread, but without entering into functions. ">step_over()</a> request. <br /></td></tr>
<tr class="separator:ga0c3b35c4cc499324ae31bbef0cca24e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf688dcf810c358c63cec805328022113"><td class="memItemLeft" align="right" valign="top">bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dbg__funcs__flow.html#gaf688dcf810c358c63cec805328022113">run_to</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea)</td></tr>
<tr class="memdesc:gaf688dcf810c358c63cec805328022113"><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute the process until the given address is reached.  <a href="#gaf688dcf810c358c63cec805328022113">More...</a><br /></td></tr>
<tr class="separator:gaf688dcf810c358c63cec805328022113"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaec3e3c069463b4389d6e262ac5801c35"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaec3e3c069463b4389d6e262ac5801c35"></a>
bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dbg__funcs__flow.html#gaec3e3c069463b4389d6e262ac5801c35">request_run_to</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea)</td></tr>
<tr class="memdesc:gaec3e3c069463b4389d6e262ac5801c35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Post a <a class="el" href="group__dbg__funcs__flow.html#gaf688dcf810c358c63cec805328022113" title="Execute the process until the given address is reached. ">run_to()</a> request. <br /></td></tr>
<tr class="separator:gaec3e3c069463b4389d6e262ac5801c35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3a3d014490f604abdef9022031daa128"><td class="memItemLeft" align="right" valign="top">bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dbg__funcs__flow.html#ga3a3d014490f604abdef9022031daa128">step_until_ret</a> (void)</td></tr>
<tr class="memdesc:ga3a3d014490f604abdef9022031daa128"><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute instructions in the current thread until a function return instruction is executed (aka "step out").  <a href="#ga3a3d014490f604abdef9022031daa128">More...</a><br /></td></tr>
<tr class="separator:ga3a3d014490f604abdef9022031daa128"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga75c1e404c959bc00150fa89af2695a5b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga75c1e404c959bc00150fa89af2695a5b"></a>
bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dbg__funcs__flow.html#ga75c1e404c959bc00150fa89af2695a5b">request_step_until_ret</a> (void)</td></tr>
<tr class="memdesc:ga75c1e404c959bc00150fa89af2695a5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Post a <a class="el" href="group__dbg__funcs__flow.html#ga3a3d014490f604abdef9022031daa128" title="Execute instructions in the current thread until a function return instruction is executed (aka &quot;step...">step_until_ret()</a> request. <br /></td></tr>
<tr class="separator:ga75c1e404c959bc00150fa89af2695a5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3bb8c83f68f33b8cc0847a0f394d8d08"><td class="memItemLeft" align="right" valign="top">bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dbg__funcs__flow.html#ga3bb8c83f68f33b8cc0847a0f394d8d08">set_resume_mode</a> (<a class="el" href="idd_8hpp.html#a479b4266d280e0d77b7ca914dec19122">thid_t</a> tid, <a class="el" href="idd_8hpp.html#a22acbc39891c15a300bd1ddf85edafae">resume_mode_t</a> mode)</td></tr>
<tr class="memdesc:ga3bb8c83f68f33b8cc0847a0f394d8d08"><td class="mdescLeft">&#160;</td><td class="mdescRight">How to resume the application.  <a href="#ga3bb8c83f68f33b8cc0847a0f394d8d08">More...</a><br /></td></tr>
<tr class="separator:ga3bb8c83f68f33b8cc0847a0f394d8d08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e997ce9e614d200826806ceb4b2428a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3e997ce9e614d200826806ceb4b2428a"></a>
bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dbg__funcs__flow.html#ga3e997ce9e614d200826806ceb4b2428a">request_set_resume_mode</a> (<a class="el" href="idd_8hpp.html#a479b4266d280e0d77b7ca914dec19122">thid_t</a> tid, <a class="el" href="idd_8hpp.html#a22acbc39891c15a300bd1ddf85edafae">resume_mode_t</a> mode)</td></tr>
<tr class="memdesc:ga3e997ce9e614d200826806ceb4b2428a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Post a <a class="el" href="group__dbg__funcs__flow.html#ga3bb8c83f68f33b8cc0847a0f394d8d08" title="How to resume the application. ">set_resume_mode()</a> request. <br /></td></tr>
<tr class="separator:ga3e997ce9e614d200826806ceb4b2428a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga0e780614135a5f04ea7daeac368f065c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> step_into </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Execute one instruction in the current thread. </p>
<p>Other threads are kept suspended. </p><table class="doxtable">
<tr>
<td>Type</td><td>Asynchronous function - available as Request </td></tr>
<tr>
<td>Notification</td><td><a class="el" href="dbg_8hpp.html#ac67a564945a2c1721691aa2f657a908ca5a821bb0745f812a64d067ac117d6ef6">dbg_step_into</a> </td></tr>
</table>

</div>
</div>
<a class="anchor" id="gadaecfc3eb3e84554df67fd8b92cb522f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> step_over </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Execute one instruction in the current thread, but without entering into functions. </p>
<p>Others threads keep suspended. </p><table class="doxtable">
<tr>
<td>Type</td><td>Asynchronous function - available as Request </td></tr>
<tr>
<td>Notification</td><td><a class="el" href="dbg_8hpp.html#ac67a564945a2c1721691aa2f657a908cae8ecb9951b87b5d6ff52d0dda67b84b3">dbg_step_over</a> </td></tr>
</table>

</div>
</div>
<a class="anchor" id="gaf688dcf810c358c63cec805328022113"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> run_to </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td>
          <td class="paramname"><em>ea</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Execute the process until the given address is reached. </p>
<p>If no process is active, a new process is started. Technically, the debugger sets up a temporary breakpoint at the given address, and continues (or starts) the execution of the whole process. So, all threads continue their execution ! </p><table class="doxtable">
<tr>
<td>Type</td><td>Asynchronous function - available as Request </td></tr>
<tr>
<td>Notification</td><td><a class="el" href="dbg_8hpp.html#ac67a564945a2c1721691aa2f657a908ca52f43e6006d1ebb6be91050d2f59f8fc">dbg_run_to</a> </td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga3a3d014490f604abdef9022031daa128"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> step_until_ret </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Execute instructions in the current thread until a function return instruction is executed (aka "step out"). </p>
<p>Other threads are kept suspended. </p><table class="doxtable">
<tr>
<td>Type</td><td>Asynchronous function - available as Request </td></tr>
<tr>
<td>Notification</td><td><a class="el" href="dbg_8hpp.html#ac67a564945a2c1721691aa2f657a908ca611c4a9713c7d7e3e8c8a52375df423e">dbg_step_until_ret</a> </td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga3bb8c83f68f33b8cc0847a0f394d8d08"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> set_resume_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="idd_8hpp.html#a479b4266d280e0d77b7ca914dec19122">thid_t</a>&#160;</td>
          <td class="paramname"><em>tid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="idd_8hpp.html#a22acbc39891c15a300bd1ddf85edafae">resume_mode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>How to resume the application. </p>
<p>Set resume mode but do not resume process. </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
